/**
 * NotificationDialog.java
 * 
 * @author Beatrice Bacelli
 * @author Luca Bedogni
 * @author Silvia Righini
 */
package unibo.lsb.graphic;

import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class NotificationDialog extends JFrame {

	public NotificationDialog() {

		setTitle("Waiting dialog..");
		setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
		JPanel panel = new JPanel();

		JLabel label = new JLabel();
		label.setText("Waiting for other players to join");

		panel.add(label);

		add(panel);

		setSize(new Dimension(400, 150));
		setLocationRelativeTo(null);
	}
}